<div class="row" ng-controller="categoryCtr">
  <div class="col-md-12">
    <div class="w_content_tab w_category_list">
      <table class="table">
        <tbody>
        <tr>
          <td></td>
          <td></td>
          <td></td>
          <td class="text-right"><a ui-sref='index.move.add' class="label label-primary ">添加</a></td>
        </tr>
        </tbody>
      </table>

      <table class="table table-bordered table-striped">
        <thead>
        <tr>
          <th>id</th>
          <th>分类</th>
          <th>简介</th>
          <th>发布时间</th>
          <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <!--┗-->
        <tr ng-repeat="val in myData">
          <th scope="row" >{{val.data.id}}</th>
          <td><span ng-if="val.tree>1" style="display:inline-block;width:{{val.tree+val.tree*10}}px"></span> <span ng-if="val.tree>1">┗&nbsp;</span>{{val.data.name}}</td>
          <td style="width: 52%;height:30px">{{val.data.intro}}</td>
          <td>{{val.data.createtime}}</td>
          <td style="width: 160px;">
            <a ng-click="get(val.data.id)" class="label label-primary ">详情</a>&nbsp;&nbsp;
            <a href="#/index/class/edit/{{val.data.id}}" class="label label-primary ">编辑</a>
            <a  class="label label-primary" ng-click="del(val.data.id)">删除</a>&nbsp;&nbsp;
          </td>
        </tr>
        <tr></tr>
        </tbody>
      </table>
    </div>
  </div>
</div>